/*
 * app_CAN.h
 *
 *  Created on: 2017��12��12��
 *      Author: think
 */

#ifndef USER_APP_APP_PROC_H_
#define USER_APP_APP_PROC_H_

#define	TRDP_SEND_IP_CNT		            (1)					//the number of IP for TRDP sending
#define TRDP_RECV_IP_CNT		            (1)					//the number of IP for TRDP recving

#define TRDP_SEND_COMID_0								(11006)     //网关转出的胎压监测系统数据
#define TRDP_SEND_COMID_1               (11007)     //网关转出的动力电池系统数据
#define TRDP_SEND_COMID_2               (12009)     //网关转出的启动电池系统数据
#define TRDP_SEND_COMID_3               (13006)     //网关转出的胎压监测系统数据
#define TRDP_RECV_COMID_0				    		(13007)     //预留


extern const uint8_t TRDP_GRP_IP[TRDP_SEND_IP_CNT+TRDP_RECV_IP_CNT][4];
extern uint32_t dev_pos_state;

void receive_Can1_Frame(uint32_t id, uint8_t *pData, uint32_t len);
void receive_Can2_Frame(uint32_t id, uint8_t *pData, uint32_t len);
void TASK_PROC( void *pvParameters );
#endif /* USER_APP_APP_PROC_H_ */
